pp108 : CWS Command-line Tool - CWSSynchronizer

CWS Command-line Tool - CWSSynchronizer

This topic describes the CWS command-line tool called CWSSynchronizer.

The command-line tool CWSSynchronizer can be used to synchronize a particular workspace with the corresponding synchronization directory on the file system of the server. Running this tool has the same result as synchronizing the same workspace from the browser.

For general instructions on how to use CWS command-line tools, refer to Using the CWS Command-line Tools.

The command-line tool CWSSynchronizer accepts two parameters:

CWSSynchronizer <ORGANIZATION_NAME> <WORKSPACE_NAME>

where,

  • <ORGANIZATION_NAME> is the name of the organization in which the workspace resides
  • <WORKSPACE_NAME> is the name of the workspace to be synchronized

For example, if your organization is called 'MyOrganization', and you have a workspace called 'MyWorkspace', synchronizing that workspace can be done using the following command:

CWSSynchronizer MyOrganization MyWorkspace

Note: In cases where any of the parameters contain white space characters, you must include them in double quotes as shown below:

CWSSynchronizer "My Organization" "My Workspace"